package com.kla.power.service;

import com.kla.power.entity.InverterElectricEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 逆变器发电数据 服务类
 * </p>
 * @author WuZH
 * @since 2024-06-02
 */
public interface IInverterElectricService extends IService<InverterElectricEntity> {

    InverterElectricEntity saveSingle (InverterElectricEntity inverterElectricEntity);

    InverterElectricEntity querySingle(InverterElectricEntity inverterElectricEntity);

    /**
     * 根据设备SN查询该逆变器当天最后一条数据
     * @param inverterSystemEntity
     * @return
     */
    InverterElectricEntity queryMaxData (InverterElectricEntity inverterSystemEntity);

    List<InverterElectricEntity> queryHistoryData (InverterElectricEntity inverterSystemEntity);

    InverterElectricEntity queryInverterTodayMax (InverterElectricEntity inverterSystemEntity);

}
